package io.adminboot.repository.extend;

import io.adminboot.entity.SysUser;
import io.adminboot.repository.SysUserMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;


public interface SysUserExtMapper extends SysUserMapper {

	List<SysUser> selectList(
			@Param("offsetStart") Integer offsetStart, 
			@Param("rowCount") Integer rowCount, 
			@Param("createUserId") Long createUserId, 
			@Param("username") String username);

	int count(@Param("createUserId") Long createUserId, @Param("username") String username);

	List<String> selectAllPerms(@Param("userId") Long userId);

	List<Long> selectAllMenuId(@Param("userId") Long userId);

	void batchDelete(@Param("ids") List<Long> ids);
	
}
